body {
    margin: 0;
    padding: 0;
    /* 背景颜色渐变 */
    background: linear-gradient(to bottom, #8abfef, #cee1f1);
}

div {
    /* 默认水平居中，设置为容器 */
    display: flex;
    text-align: center;
    justify-content: center;
}

/* 导航栏 */
.main_menu {
    height: 68px;
    background-color: #333333;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.main_menu #logo {
    width: 200px;
}

.main_menu #logo img {
    height: 50px;
    margin: 9px auto;
}

.main_menu ul, .main_menu li {
    list-style-type: none;
    margin: 0 0;
    padding: 0;
    background-color: #333333;
}

/* 导航栏横向布局 */
.main_menu ul li {
    display: block;
    float: left;
}

.main_menu ul li a {
    display: block;
    color: white;
    width: 160px;
    height: 28px;
    padding: 20px 0;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

a {
    text-decoration: none;
    color: #0645ad;
}

/* 导航栏鼠标移上去后修改颜色 */
.main_menu ul li a:hover {
    background-color: #111111;
}

/* 下拉菜单按钮 */
.main_menu .drop_button {
    background-color: #4CAF50;
    color: snow;
    width: 160px;
    padding: 20px 0;
    font-size: 21px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

/* 当下拉内容显示后修改下拉按钮的背景颜色 */
.main_menu .dropdown:hover .drop_button {
    background-color: #3e8e41;
}

/* 定位下拉内容 */
.main_menu .dropdown {
    position: relative;
    display: inline-block;
}

/*  下拉内容 (默认隐藏)  */
.main_menu .dropdown-content {
    display: none;
    text-align: center;
    position: absolute;
    min-width: 160px;
    background-color: #64c967;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/*  下拉菜单的链接  */
.main_menu .dropdown-content a {
    color: #111;
    font-size: 16px;
    line-height: 28px;
    display: block;
}

/*  鼠标移上去后修改下拉菜单链接颜色  */
.main_menu .dropdown-content a:hover {
    background-color: #a8e7a8;
}

/*  在鼠标移上去后显示下拉菜单  */
.main_menu .dropdown:hover .dropdown-content {
    display: block;
}

.head_portrait {
    width: 60px;
    margin: -18px 5px;
}

.head_portrait_button {
    width: 80px !important;
}

.contents {
    background-color: #e6eff4;
    width: 225px;
    height: 650px;
    display: block;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(51, 51, 51, 0.5);
    position: fixed;
    left: 70px;
    z-index: 1;
    margin: 0 10px 0 0;
}

.scrollTo {
    position: fixed;
    right: 228px;
    top: 400px;
    z-index: 1;
    margin: 0 10px 0 0;
}

#content {
    font-size: 25px;
    font-weight: bold;
    text-indent: 0;
    text-align: center;
    padding: 8px;
}

.contents li {
    text-indent: 20px
}

.contents ul {
    text-align: left;
    list-style-type: none;
    margin: 0 0;
    padding: 0;
}

.contents ul a {
    display: block;
    color: #313131;
    padding: 2px 2px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

/* 导航栏鼠标移上去后修改颜色 */
.contents ul li a:hover {
    background-color: #d1d3d7;
}

.contents ul li ul li{
    text-indent: 35px;
}

.contents ul li ul li ul li{
    text-indent: 55px;
}

.indent p {
    text-indent: 2em;
    text-align:justify;
}

.interval {
    margin: 8px 0 0 0;
}

.main {
    margin: 10px;
}

.message {
    position:relative;
    width: 900px;
    /*height: 2000px;*/
    text-align: left;
    color: #3A3A3A;
    /*justify-content: left;*/
    display: block;
    background-color: #e6eff4;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(51, 51, 51, 0.5);
    font-family: rubik, helvetica, arial, sans-serif;
}

.message div, .message table, .message p, .message h3 {
    padding: 0 30px;
}

hr {
    width: 850px;
}

.message .contents_main {
    font-size: 38px;
    text-indent: 0;
    margin: 20px 40px;
    padding: 8px;
}

.message .contents_title {
    font-size: 24px;
    color: #3A3A3A;
    font-weight: bold;
    text-indent: 0;
    margin: 20px 20px;
    padding: 20px 8px;
}

.message .hat-note {
    text-align: left;
    justify-content: left;
}

.part_content {
    text-align: left;
    justify-content: left;
}

.part_content div {
    display: block;
    text-align: left;
    justify-content: left;
}

.part_content div{
    padding: 0;
}

.part_body_content {
    width: 512px;
}

.part_body_content h3,.part_body_content p {
    padding: 0;
}

.part_body_content p {
    text-align:justify;
}

.indent p {
    text-indent: 2em;
    text-align:justify;
}

.pbc_width{
    width: 900px;
}

.wiki_table {
    border-collapse: collapse;
    margin: 15px 0;
}

.wiki_table th, .wiki_table td {
    border: 1px solid black;
    padding: 0.4em 0.8em;
}

.tc-out-on {
    background-color: #ff0000;
    color: white;
}

.tc-out-off {
    background-color: #990000;
    color: white;
}

.box, .box img {
    /*position: absolute;*/
    width: 150px;
    height: 150px;
    max-width: 100%;
    margin: 15px auto 0 20px;
}

.box {
    width: 150px;
    height: 200px;
}

.show {
    /*position: absolute;*/
    padding: 0 !important;
    margin: 0  0 0 25px;
    background-color: #e6eff4;
    font-size: 14px;
    right: 350px;
}

.show p {
    margin: 0 0;
}

.show table{
    border-collapse: collapse;
}

.show_table {
    margin: 0 0;
    padding: 0 !important;
}

.show_table p ,.show_table th {
    text-align: center;
}

.show_table td {
    width: 175.15px
}


.show th, .show td {
    border: 1px solid black;
    padding: 0.4em 0.8em;
}
